#ifndef __LOGBYLC_UTIL_H__
#define __LOGBYLC_UTIL_H__

#include <stdio.h>
#include <stdint.h>

namespace logbylc {

#ifdef WIN32
#include <windows.h>
#else
#include <pthread.h>
#endif
	inline uint32_t GetThreadId()
	{
#ifdef WIN32
		return GetCurrentThreadId();
#else
		return thread_self();
#endif
	}

	inline uint32_t GetFiberId()
	{
		return 0;
	}
}

#endif